import { createApp } from 'vue'
import { createPinia } from 'pinia'


import App from './App.vue'
import router from './router'

// 重置样式
import '@/assets/css/reset.scss'
// public 样式
import '@/assets/css/public.scss'

import {post,get} from "@/api/http"; // 主要是这里，引入配置好的Api


import '@/assets/css/reset.scss'
import '@/assets/css/public.scss'
import 'uno.css'

const app = createApp(App);

app.config.globalProperties.$post = post;       //方法挂载到全局
app.config.globalProperties.$get = get;       //方法挂载到全局

app.use(createPinia()).use(router).mount("#app");
